package MultiSnake;

import java.rmi.*;
import java.util.LinkedList;

public interface ServerInterface extends Remote {
	void register(ClientInterface client) throws RemoteException;
	int getWidth() throws RemoteException;
	int getHeight() throws RemoteException;
	int getNodeWidth() throws RemoteException;
	int getNodeHeight() throws RemoteException;
	void setFood(int x,int y) throws RemoteException;
	boolean getFood() throws RemoteException;
	void startThreads() throws RemoteException;
	MultiSnakeModel[] getSnakes() throws RemoteException;
}
